Using Pie Charts, Donut Charts, and Treemaps in Microsoft Power BI
Course: Microsoft Power BI Training
Topic: Using Pie Charts, Donut Charts, and Treemaps
Course Link: Microsoft Power BI Training at JustAcademy
Demo Link: Register for a Course Demo
JustAcademy Website: Visit JustAcademy
1. Introduction to Pie Charts, Donut Charts, and Treemaps
Microsoft Power BI provides several visualization options for analyzing business data. Pie charts, donut charts, and treemaps are commonly used to show how individual categories contribute to a total. They help users understand proportions, identify major contributors, and compare the distribution of values across categories.
Although these three visuals can communicate part-to-whole relationships, each has different characteristics. Pie charts represent values as slices of a circle, donut charts display values as segments of a ring, and treemaps represent values using nested rectangles whose sizes correspond to the underlying measure.
Choosing the correct visualization depends on the number of categories, the complexity of the data, the presence of a hierarchy, and the question that the report needs to answer.
1.1 What Is a Pie Chart?
A pie chart is a circular visualization divided into slices. Each slice represents a category's contribution to the total value. The angle and area of each slice are proportional to its share of the whole.
Example: A company generates ₹10,00,000 in total sales from four product categories. A pie chart can show the percentage of total sales contributed by each category.
1.2 What Is a Donut Chart?
A donut chart is similar to a pie chart, but it contains a blank center. It displays categories as segments of a ring and can use the center to display a total or another relevant measure, depending on the visual's supported formatting options.
Example: A donut chart can show the percentage of revenue generated by different sales channels while displaying total revenue in the center.
1.3 What Is a Treemap?
A treemap represents data using a collection of nested rectangles. The size of each rectangle represents a numerical value, such as sales, revenue, profit, or quantity. Different colors can distinguish categories or communicate an additional measure when the visual supports it.
Example: A treemap can show sales by product category and then break each category into individual products.
1.4 Learning Objectives
After completing this topic, learners should be able to:
- Understand how pie charts, donut charts, and treemaps work.
- Identify the appropriate use cases for each visual.
- Prepare data for part-to-whole analysis in Power BI.
- Create pie charts and donut charts using the Visualizations pane.
- Create treemaps with category and detail fields.
- Configure legends, values, labels, tooltips, and colors.
- Calculate category contribution percentages using DAX.
- Use drill-down, cross-filtering, and cross-highlighting where appropriate.
- Interpret visualization results accurately.
- Avoid common design mistakes and misleading representations.
2. Understanding Part-to-Whole Analysis
Part-to-whole analysis examines how individual components contribute to an overall total. It is useful for understanding the distribution of revenue, expenses, customers, products, orders, and other business metrics.
2.1 Example of Part-to-Whole Analysis
Suppose an online retailer generates ₹5,00,000 in sales from four categories.
| Category |
Sales |
Contribution |
| Electronics |
₹2,00,000 |
40% |
| Clothing |
₹1,50,000 |
30% |
| Home Appliances |
₹1,00,000 |
20% |
| Accessories |
₹50,000 |
10% |
| Total |
₹5,00,000 |
100% |
This information can be represented using a pie chart or donut chart because each category contributes to a common total. A treemap can also display the relative size of each category through rectangle areas.
2.2 Formula for Percentage Contribution
The percentage contribution of a category is calculated by dividing its value by the overall total and multiplying the result by 100.
Percentage Contribution =
(Category Value / Total Value) * 100
For Electronics:
Percentage Contribution =
(200000 / 500000) * 100
Percentage Contribution = 40%
2.3 When Part-to-Whole Analysis Is Useful
- Analyzing sales contribution by product category.
- Comparing revenue by region or sales channel.
- Understanding marketing expenditure distribution.
- Examining the contribution of departments to total expenses.
- Analyzing customer distribution by segment.
- Identifying the products that contribute most to profit.
3. Preparing Data for Visualization
Before creating a pie chart, donut chart, or treemap, ensure that the dataset has meaningful categories and numerical values. Incorrect data types, duplicated records, inappropriate aggregation, or missing categories can lead to misleading results.
3.1 Example Sales Dataset
| Product Category |
Product |
Region |
Sales Amount |
| Electronics |
Laptop |
North |
120000 |
| Electronics |
Mobile |
South |
80000 |
| Clothing |
Shirts |
North |
90000 |
| Clothing |
Shoes |
West |
60000 |
| Home Appliances |
Refrigerator |
South |
70000 |
| Home Appliances |
Washing Machine |
West |
30000 |
| Accessories |
Headphones |
North |
30000 |
| Accessories |
Chargers |
South |
20000 |
3.2 Data Preparation Checklist
- Confirm that Sales Amount uses a numeric data type.
- Ensure product and category fields contain meaningful labels.
- Check for missing or incorrectly categorized records.
- Remove duplicate records when they are accidental duplicates.
- Verify that sales values are aggregated at the correct level.
- Ensure that categories represent meaningful parts of the same total.
- Check whether filters should affect the total used for percentage calculations.
3.3 Load Data into Power BI
- Open Power BI Desktop.
- Select Home and choose Get data.
- Connect to Excel, CSV, a database, or another supported source.
- Select the required table or file.
- Choose Transform Data if the dataset requires cleaning.
- Verify data types and column names in Power Query.
- Select Close & Apply to load the prepared data.
3.4 Create a Base Sales Measure
A DAX measure calculates total sales according to the current report filter context. It can be reused across different visuals.
Total Sales =
SUM(Sales[Sales Amount])
Replace Sales and Sales Amount with the actual table and column names in your model.
4. Creating a Pie Chart in Power BI
A pie chart is useful when the objective is to show how a small number of categories contribute to a common total. It is most effective when the category shares are easy to distinguish.
4.1 Steps to Create a Pie Chart
- Open Power BI Desktop and navigate to Report view.
- Select an empty area of the report canvas.
- In the Visualizations pane, select the Pie chart visual.
- Drag Product Category into the Legend field well.
- Drag the Total Sales measure into the Values field well.
- Verify that Power BI aggregates the values correctly.
- Resize the visual to make the slices and labels readable.
- Open the Format visual pane to customize the appearance.
4.2 Understanding Pie Chart Fields
| Field |
Purpose |
Example |
| Legend |
Identifies the categories represented by slices. |
Product Category |
| Values |
Determines the numerical size of each slice. |
Total Sales |
| Tooltips |
Provides additional information when users hover over a slice. |
Profit, order count |
Exact field-well names and formatting options may vary slightly by Power BI version. Use the equivalent fields shown in the current visual-building interface.
4.3 Understanding Pie Slices
Each slice represents a category's contribution to the total. A larger slice indicates a larger value, while a smaller slice indicates a smaller value.
For example, if Electronics accounts for 40% of sales and Accessories accounts for 10%, the Electronics slice will occupy a larger portion of the circle.
4.4 Format the Pie Chart
Select the pie chart and open the Format visual pane. Depending on the current Power BI version, relevant settings may include:
- Legend: Show or hide the category legend and adjust its position.
- Detail labels: Display category names, values, or percentages where supported.
- Data colors: Assign distinct colors to categories.
- Title: Add a descriptive chart title.
- Background: Adjust the visual background if needed.
- Tooltips: Provide additional measures for users to explore.
4.5 Example Pie Chart Interpretation
Suppose the pie chart shows Electronics at 40%, Clothing at 30%, Home Appliances at 20%, and Accessories at 10%.
- Electronics is the largest contributor to sales.
- Clothing is the second-largest contributor.
- Home Appliances contributes one-fifth of the total.
- Accessories contributes the smallest share.
This visualization helps a manager understand category contribution at a glance, although a sorted bar chart may be easier for precise comparisons.
5. Creating a Donut Chart in Power BI
A donut chart represents categories using segments of a ring. It communicates part-to-whole relationships similarly to a pie chart, but its center can provide space for a summary value or label.
5.1 Steps to Create a Donut Chart
- Select an empty area of the report canvas.
- Choose the Donut chart visual from the Visualizations pane.
- Drag Product Category into the Legend field well.
- Drag the Total Sales measure into the Values field well.
- Verify the category values and aggregation.
- Open the Format visual pane.
- Adjust the legend, colors, labels, title, and other available settings.
- Resize the chart to ensure the ring and category labels remain readable.
5.2 Adding a Center Value
Supported Power BI donut chart versions provide a Center value option. This can display a total or a selected measure in the middle of the ring, without requiring a separate overlaid card.
- Select the donut chart.
- Open the Format visual pane.
- Look for the Center value setting under the visual formatting options.
- Enable the option if it is available in your version.
- Configure the displayed measure, label, font, and number format where supported.
- Check that the value remains readable when the visual is resized or filtered.
The center value is a donut chart feature, not a standard pie chart feature. Available formatting options can vary by Power BI version.
5.3 Example of a Donut Chart
Suppose a company has total sales of ₹5,00,000. The donut chart shows the category shares as segments, while the center displays Total Sales: ₹5,00,000.
This combination allows the audience to understand both the overall sales figure and the contribution of individual categories.
5.4 Advantages of Donut Charts
- Clearly display the contribution of a few categories to a whole.
- Provide an area for a center value or summary label.
- Support interactive filtering and selection.
- Can be useful for compact dashboard layouts.
- Offer a familiar visual format for category-share analysis.
5.5 Limitations of Donut Charts
- Similar-sized segments can be difficult to compare accurately.
- Many categories make the chart cluttered.
- Small segments may be difficult to label.
- The center value may compete with the ring for attention.
- Precise ranking is often easier to understand in a sorted bar chart.
6. Creating a Treemap in Power BI
A treemap displays hierarchical data through nested rectangles. Each rectangle's area represents the value of the associated category or item. Treemaps are especially useful when there are many categories or multiple levels of grouping.
6.1 How Treemaps Work
A treemap arranges rectangles according to the values being visualized. Large values generally occupy larger rectangles, while smaller values occupy smaller rectangles. Parent categories can contain smaller rectangles representing child categories.
For example, a treemap can display sales by product category, with each category divided into individual products.
6.2 Steps to Create a Treemap
- Open Power BI Desktop and select Report view.
- Select an empty area of the report canvas.
- Choose the Treemap visual from the Visualizations pane.
- Drag Product Category into the Category field well.
- Drag the Total Sales measure into the Values field well.
- Optionally add Product to the Details field well to show lower-level items within categories.
- Verify that rectangle sizes reflect the expected sales values.
- Open the Format visual pane to customize the title, colors, labels, and tooltips.
6.3 Understanding Treemap Fields
| Field |
Purpose |
Example |
| Category |
Defines the main groups or parent categories. |
Product Category |
| Details |
Splits the categories into smaller items. |
Product |
| Values |
Determines the size of the rectangles. |
Total Sales |
| Tooltips |
Displays additional information when hovering over rectangles. |
Profit, units sold |
The exact field wells can vary by interface version. Use the corresponding Category, Details, Values, and tooltip options available for the built-in treemap visual.
6.4 Example Treemap Structure
Consider the following hierarchy:
Total Sales
├── Electronics
│ ├── Laptop
│ └── Mobile
├── Clothing
│ ├── Shirts
│ └── Shoes
├── Home Appliances
│ ├── Refrigerator
│ └── Washing Machine
└── Accessories
├── Headphones
└── Chargers
The main rectangles represent product categories, while smaller rectangles represent individual products. The area of each rectangle reflects its sales value.
6.5 Interpreting Rectangle Size
A larger rectangle indicates a higher value for the measure being visualized. A smaller rectangle indicates a lower value.
For example, if Laptop sales are ₹1,20,000 and Charger sales are ₹20,000, the Laptop rectangle should occupy a larger area than the Charger rectangle when both are displayed using the same sales measure and comparable hierarchy.
6.6 Using Colors in a Treemap
Colors can help distinguish categories or communicate additional information, depending on the visual's available formatting options.
- Use consistent colors for major categories.
- Use sufficient contrast between adjacent rectangles.
- Use color scales only when the color represents a meaningful numerical measure.
- Do not assume that a darker rectangle always represents a higher value unless the legend or color scale explicitly establishes that meaning.
- Use tooltips to provide additional detail without overcrowding the rectangles.
7. Comparing Pie Charts, Donut Charts, and Treemaps
| Feature |
Pie Chart |
Donut Chart |
Treemap |
| Visual structure |
Circle divided into slices |
Ring divided into segments |
Nested rectangles |
| Main purpose |
Show part-to-whole relationships |
Show part-to-whole relationships, optionally with a center value |
Show proportions and hierarchical categories |
| Best suited for |
A small number of categories |
A small number of categories with an optional summary value |
Many categories or hierarchical data |
| Value encoding |
Slice angle and area |
Segment angle and area |
Rectangle area |
| Center summary value |
Not a standard built-in feature |
Supported in applicable Power BI versions |
Not its primary design purpose |
| Hierarchical display |
Limited; hierarchy can be explored through drill features |
Limited; hierarchy can be explored through drill features |
Well suited to nested categories |
| Large number of categories |
Can become cluttered |
Can become cluttered |
Can accommodate many categories, subject to readability |
| Precise comparisons |
Often difficult for similar-sized slices |
Often difficult for similar-sized segments |
Area comparisons can also be difficult; a bar chart may be clearer |
8. Calculating Percentage Contribution Using DAX
Percentage contribution is often displayed in pie charts and donut charts. It can also provide useful context when analyzing categories in a treemap.
8.1 Create a Total Sales Measure
Total Sales =
SUM(Sales[Sales Amount])
8.2 Calculate Percentage of Total
To calculate each category's contribution to the total across all product categories while respecting other filters, such as date and region, use a measure such as:
Sales % of All Categories =
DIVIDE(
[Total Sales],
CALCULATE(
[Total Sales],
REMOVEFILTERS(Sales[Product Category])
)
)
This example assumes Product Category is a column in the Sales table. If your model uses a separate Product dimension, remove the filter from the corresponding dimension column instead. The denominator should match the intended definition of the total.
8.3 Format the Measure
- Select the Sales % of All Categories measure.
- Open the Measure tools or Modeling ribbon.
- Change the format to Percentage.
- Choose an appropriate number of decimal places.
- Add the measure to a tooltip or a visual field where supported.
8.4 Understanding Filter Context
The denominator determines what the percentage means. A category may be compared with all categories, all categories in a selected region, or all categories in a selected month.
Using REMOVEFILTERS on the category field removes that category filter while preserving other applicable filters. This is useful when the goal is to show category contribution within the current report context.
8.5 Calculate Sales Variance Between Categories
When comparing category performance, you may also create measures for average sales, profit, or units sold. Choose the measure that best answers the business question and ensure that it has the correct aggregation.
Total Profit =
SUM(Sales[Profit])
Total Units Sold =
SUM(Sales[Quantity])
These measures can be used as values or additional tooltip information, depending on the selected visual and its supported field wells.
9. Formatting and Customizing Pie Charts
9.1 Use Meaningful Category Colors
Assign distinct colors to categories that users need to distinguish. Keep category colors consistent across report pages when the same categories appear repeatedly.
9.2 Configure the Legend
Display a legend when users need to identify which color represents each category. Place it where it does not obscure the chart or reduce the available viewing area unnecessarily.
9.3 Configure Detail Labels
Use labels to show useful information such as category name, value, or percentage when supported by the visual's formatting options.
Avoid enabling every possible label when the chart contains numerous small slices. Instead, use tooltips or a supporting bar chart for detailed comparisons.
9.4 Add a Clear Title
Use a title such as "Sales Contribution by Product Category" instead of a vague title such as "Sales."
9.5 Configure Tooltips
Add measures such as Total Sales, Total Profit, and Percentage Contribution to the tooltip fields when they improve the analysis. Verify that the displayed values reflect the selected category and current filters.
10. Formatting and Customizing Donut Charts
10.1 Adjust the Ring Appearance
Use the available formatting options to create a balanced ring that leaves enough room for the center value, if one is displayed.
10.2 Display a Summary Value
When appropriate, show total revenue, total customers, or another relevant measure in the center. Use a descriptive label so that viewers understand what the number represents.
10.3 Use a Limited Number of Segments
A donut chart becomes harder to interpret when many categories produce narrow segments. Consider grouping small categories into an appropriate "Other" category, provided the grouping is analytically valid and does not hide important information.
10.4 Avoid Redundant Information
If the center value already displays total sales, consider whether a separate card showing exactly the same total is necessary. Repeated information should have a clear purpose.
11. Formatting and Customizing Treemaps
11.1 Set a Descriptive Title
Use a title such as "Sales by Product Category and Product" to explain the hierarchy and metric.
11.2 Configure Categories and Details
Use the Category field for major groups and Details for lower-level items. Avoid adding unnecessary levels if they make the rectangles too small to interpret.
11.3 Configure Tooltips
Include useful information such as sales, profit, quantity, and percentage contribution when supported. Tooltips allow users to inspect smaller rectangles without requiring permanent labels for every item.
11.4 Use Color Carefully
Use colors to distinguish categories or encode a meaningful additional measure when the visual supports it. If a color scale is used, provide an understandable legend or explanation.
11.5 Handle Small Rectangles
Very small rectangles may not have enough space for labels. Use tooltips or a supporting table for detailed values. If exact ranking is important, add a sorted bar chart.
12. Interactive Features in Power BI
Pie charts, donut charts, and treemaps can interact with other visuals on a report page. These interactions help users explore category contributions and discover patterns.
12.1 Cross-Filtering
Cross-filtering allows a selection in one visual to filter other visuals to the corresponding data.
Example: Selecting Electronics in a pie chart can filter a table to show only Electronics products, if the report's visual interactions are configured accordingly.
12.2 Cross-Highlighting
Cross-highlighting emphasizes the selected portion of related data while keeping the remaining context visible in supported visuals.
This can be useful when users need to understand a category's contribution while still comparing it with the overall distribution.
12.3 Drill-Down
Drill-down allows users to move from a higher level of a hierarchy to a lower level.
For example, users may navigate from product category to product. Pie and donut charts can support hierarchical exploration when a suitable hierarchy is configured, while treemaps naturally display nested categories.
12.4 Tooltips
Tooltips display additional details when users hover over a category or rectangle. They can provide exact values that are difficult to fit into a small visual.
12.5 Test Visual Interactions
- Select the pie chart, donut chart, or treemap.
- Select a category or segment.
- Observe how the other visuals respond.
- Verify whether the intended behavior is filtering, highlighting, or no interaction.
- Use the Format ribbon's interaction settings, where available, to adjust the behavior.
- Clear the selection and verify that the original report view returns.
13. Practical Project: Product Sales Contribution Dashboard
Project Objective: Build an interactive Power BI report that analyzes how different product categories and products contribute to total sales.
13.1 Dataset Requirements
- Product Category
- Product Name
- Sales Amount
- Profit
- Quantity Sold
- Region
- Order Date
13.2 Create the Measures
Total Sales =
SUM(Sales[Sales Amount])
Total Profit =
SUM(Sales[Profit])
Total Quantity =
SUM(Sales[Quantity])
Sales % of All Categories =
DIVIDE(
[Total Sales],
CALCULATE(
[Total Sales],
REMOVEFILTERS(Sales[Product Category])
)
)
Format Sales % of All Categories as a percentage. Adjust the table and column names to match the actual dataset.
13.3 Create the Pie Chart
- Add a pie chart to the report canvas.
- Use Product Category as the legend.
- Use Total Sales as the value.
- Configure a clear title and suitable colors.
- Display category values or percentages where appropriate.
13.4 Create the Donut Chart
- Add a donut chart to the report canvas.
- Use Product Category as the legend.
- Use Total Sales as the value.
- Enable the center value option if available.
- Display total sales in the center if it adds useful context.
- Ensure that the segments and labels remain readable.
13.5 Create the Treemap
- Add a treemap visual.
- Place Product Category in Category.
- Place Product in Details.
- Place Total Sales in Values.
- Add Total Profit to the tooltip fields if supported.
- Format colors and labels for clarity.
13.6 Add Filters and Supporting Visuals
- Add a date slicer for the reporting period.
- Add a region slicer.
- Add a card displaying Total Sales.
- Add a bar chart ranking products by sales.
- Test cross-filtering and cross-highlighting.
13.7 Expected Learning Outcomes
By completing the project, learners should be able to create part-to-whole visualizations, compare category contributions, explore hierarchical data, configure interactive behavior, and explain which products or categories contribute most to the business total.
14. Common Mistakes and Troubleshooting
| Problem |
Possible Cause |
Solution |
| Pie chart shows unexpected totals |
Incorrect aggregation, filters, or duplicate records |
Validate the dataset and Total Sales measure. |
| Too many pie slices |
The category field contains too many distinct values |
Group categories appropriately or use a sorted bar chart. |
| Labels overlap |
Segments are too small or the visual is too compact |
Resize the visual, reduce labels, or use tooltips. |
| Donut center value is missing |
The option is unavailable, disabled, or the visual has insufficient room |
Check the formatting options and verify the visual size and data. |
| Treemap shows no meaningful hierarchy |
Category and detail fields are incorrectly configured |
Use a parent category and a meaningful lower-level field. |
| Treemap rectangles are difficult to read |
Too many small items or insufficient space |
Reduce hierarchy depth and use tooltips or a detail table. |
| Percentages do not add up as expected |
The denominator or filter context is not appropriate |
Review the percentage formula and the filters removed or retained. |
| Colors are confusing |
Too many colors or inconsistent category mapping |
Use a consistent palette and distinguish categories clearly. |
| Selecting a slice does not filter another chart |
The interaction is disabled or the data model does not support the expected filter path |
Check visual interaction settings and model relationships. |
| Small categories are hard to compare |
Area or angle encoding makes precise comparison difficult |
Use a sorted bar chart or supporting table. |
15. Best Practices for Pie Charts, Donut Charts, and Treemaps
- Use pie and donut charts when showing a small number of categories that form a meaningful whole.
- Prefer bar charts when precise ranking or close comparisons are important.
- Use treemaps when a hierarchical structure or many categories need to be displayed compactly.
- Use meaningful category names and a clear title.
- Ensure the numerical measure is aggregated correctly.
- Use percentage contribution only when the denominator represents the intended total.
- Maintain consistent category colors across related report pages.
- Avoid excessive labels and decorative formatting.
- Use tooltips to provide additional details without clutter.
- Check that slicers and interactions produce the expected results.
- Provide alternative ways to inspect exact values when visual areas or angles are difficult to compare.
- Validate the report against the source data before publishing.
16. Practice Exercises
- Create a pie chart showing sales contribution by product category.
- Create a donut chart showing revenue contribution by region.
- Display total sales in the center of a donut chart if the option is available.
- Create a treemap showing sales by category and product.
- Calculate the percentage contribution of each category using DAX.
- Add profit and quantity to tooltips where supported.
- Apply a consistent color palette across the three visuals.
- Test how a region slicer changes category contribution.
- Configure cross-filtering between a treemap and a supporting chart.
- Compare the pie chart with a sorted bar chart and identify which is easier to interpret.
- Correct a treemap that uses the wrong category hierarchy.
- Write three business insights based on the completed dashboard.
17. Interview Questions and Answers
Q1. What is a pie chart in Power BI?
Answer: A pie chart is a circular visualization divided into slices, where each slice represents a category's contribution to the total value.
Q2. What is a donut chart?
Answer: A donut chart is similar to a pie chart but has a hollow center, which can display a summary value in supported Power BI versions.
Q3. What is a treemap?
Answer: A treemap displays hierarchical data through nested rectangles whose areas represent numerical values.
Q4. What is the difference between a pie chart and a donut chart?
Answer: Both display part-to-whole relationships, but a donut chart has a central space that can display an additional summary value.
Q5. When should a treemap be used?
Answer: A treemap is useful when users need to compare relative values across many categories or explore hierarchical data in a compact layout.
Q6. Why should pie charts contain only a few categories?
Answer: Too many slices become difficult to distinguish and compare, reducing readability.
Q7. How can percentage contribution be calculated in Power BI?
Answer: Divide the category value by the intended total using DAX, and format the measure as a percentage.
Q8. What is the purpose of the Legend field?
Answer: The Legend field identifies the categories represented by different slices or segments.
Q9. What determines the size of rectangles in a treemap?
Answer: Rectangle area is determined by the numerical measure assigned to the visual, such as sales or profit.
Q10. Can treemaps display hierarchical data?
Answer: Yes. They can display parent categories and smaller child items as nested rectangles.
Q11. What is cross-filtering?
Answer: Cross-filtering allows a selection in one visual to filter other visuals to the corresponding data.
Q12. Why are tooltips useful?
Answer: Tooltips provide additional information about a category without requiring every detail to be displayed permanently.
Q13. Why might a bar chart be better than a pie chart?
Answer: A sorted bar chart makes it easier to compare values precisely, particularly when category values are similar or numerous.
Q14. How can a treemap become difficult to read?
Answer: Too many hierarchy levels, numerous small rectangles, insufficient space, and unclear colors can reduce readability.
Q15. What should be checked before publishing these visuals?
Answer: Validate data aggregation, percentage calculations, labels, colors, filter behavior, tooltips, and the interpretation of the displayed values.
18. Quick Revision Checklist
- Pie charts show category proportions using circular slices.
- Donut charts show proportions using ring segments and can display a center value.
- Treemaps show proportions and hierarchies using nested rectangles.
- Use a small number of categories in pie and donut charts.
- Use treemaps when category hierarchies or many values need to be explored.
- Create a reusable Total Sales measure in DAX.
- Calculate percentage contribution using the appropriate denominator.
- Configure category, detail, value, and tooltip fields correctly.
- Use clear titles and consistent colors.
- Test slicers, drill functionality, and visual interactions.
- Use bar charts or tables when exact comparisons are important.
- Validate all calculations before publishing the report.
19. Conclusion
Pie charts, donut charts, and treemaps are useful Power BI visuals for understanding how different categories contribute to a business total. Pie charts are suitable for simple part-to-whole comparisons, donut charts add a central space for a summary value, and treemaps are particularly useful for hierarchical data and larger category sets.
Effective use of these visuals requires clean data, correct aggregation, meaningful categories, readable labels, suitable colors, and a clear understanding of the business question. Percentage contribution measures, tooltips, slicers, and cross-filtering can further improve the analytical experience.
By applying these principles and completing the practical exercises, learners can build informative Power BI reports that help stakeholders understand category performance and make better decisions.
To continue learning, explore the Microsoft Power BI Training course at JustAcademy or register for a course demo.
20. Additional Learning Resources